Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​Options.​ConfigureNamedOptions<​TOptions, TDep1, TDep2, TDep3, TDep4, TDep5>

Assembly: Microsoft.Extensions.Options

Inheritance: object → ConfigureNamedOptions

Implemented Interfaces

Implementation of <see cref="T:Microsoft.Extensions.Options.IConfigureNamedOptions`1" /> .

Properties

public System.​Action<​TOptions, TDep1, TDep2, TDep3, TDep4, TDep5>
Action
Gets the configuration action.
public TDep1
Dependency1
Gets the first dependency.
public TDep2
Dependency2
Gets the second dependency.
public TDep3
Dependency3
Gets the third dependency.
public TDep4
Dependency4
Gets the fourth dependency.
public TDep5
Dependency5
Gets the fifth dependency.
public string
Name
Gets the options name.

Methods

public void
Configure​(string name, TOptions options)
Invokes the registered configure <see cref="P:Microsoft.Extensions.Options.ConfigureNamedOptions`6.Action" /> if the <paramref name="name" /> matches.
name The name of the options instance being configured.
options The options instance to configure.
public void
Configure​(TOptions options)
Configures a <typeparamref name="TOptions" /> instance with the <see cref="F:Microsoft.Extensions.Options.Options.DefaultName" /> .
options The options instance to configure.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object